package com.bullsora.kindlerss.model;

import javax.persistence.Embeddable;
import javax.persistence.Transient;
import java.util.List;

/**
 * @author sorin.buliarca@iquesint.com
 */
@Embeddable
public class Feed {

  private String url;

  private String shortName;

  @Transient
  private List<FeedEntry> newEntries;

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public String getShortName() {
    return shortName;
  }

  public void setShortName(String shortName) {
    this.shortName = shortName;
  }

  public List<FeedEntry> getNewEntries() {
    return newEntries;
  }

  public void setNewEntries(List<FeedEntry> newEntries) {
    this.newEntries = newEntries;
  }
}
